package Tasks;

import java.util.ArrayList;

import AI.AiEntity;

public abstract class Task
{
	public int currentStep = 0;
	public int urgency = 1;
	public boolean finished = false;
	
	protected ArrayList<Task> stepList = new ArrayList<Task>();
	
	public Task()
	{
		
	}
	
	public Task getCurrentStep()
	{
		return stepList.get(currentStep);
	}
	
	public abstract void performTask(AiEntity e);
	
	public abstract boolean isFinished(AiEntity e);
}
